<template>
  <div class="container">
    <div class="topOne">
      <div class="selection" @click="$router.push('/city')">
       <slot></slot>
        <van-icon name="arrow-down" />
      </div>
      <div class="inp">
        <van-icon name="search" />
        <span>请输入小区或地址</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
name:'SearchIndex',
  data() {
    return {

    }
  },
methods:{
}
}
</script>

<style scoped lang="less">
.topOne {
  background-color: #fff;
  display: flex;
  justify-content: center;
  height: 30px;
  line-height: 30px;
  padding: 10px;

  .selection {
    background-color: #fff;
  }
  .inp {
    width: 240px;
    background-color: #fff;
  }
}
</style>
